<?php
class Person
{
    public $name = 'jack';

    public function __call(string $method, array $args)
    {
        echo $method . '/' . implode(',', $args) . PHP_EOL;
        return $method(...$args);
    }
    public static function __callStatic(string $method, array $args)
    {
        echo $method . '/' . implode(',', $args) . PHP_EOL;
    }
}
function getHtml($user, $age)
{
    echo $user . '---' . $age;
}
$p = new Person();
echo $p->getHtml('lucy', 20);
// echo Person::getUser('mary',22);